package org.millioncall.yueyoga.admin.dao;

import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Contact;

public interface ContactDAO {
	public int deleteByPrimaryKey(Integer id);

    public int insert(Contact record);

    public int insertSelective(Contact record);

    public Contact selectByPrimaryKey(Integer id);

    public int updateByPrimaryKeySelective(Contact record);

    public int updateByPrimaryKeyWithBLOBs(Contact record);

    public int updateByPrimaryKey(Contact record);

	public PaginatedList<Contact> findContactByMemberId(Map<String, Object> map, int start,
			int limit);
}